﻿using Microsoft.EntityFrameworkCore;
using PaymentService.Model;
using Volo.Abp.EntityFrameworkCore;

namespace PaymentService.Data;

public class PaymentServiceDbContext : AbpDbContext<PaymentServiceDbContext>
{
    public PaymentServiceDbContext(DbContextOptions<PaymentServiceDbContext> options)
        : base(options)
    {

    }

    /// <summary>
    /// 
    /// </summary>
    public DbSet<Payment> payments { get; set; }

    protected override void OnModelCreating(ModelBuilder builder)
    {
        base.OnModelCreating(builder);

        /* Include modules to your migration db context */

        /* Configure your own entities here */
    }
}
